<?php
declare (strict_types = 1);

namespace app\api\controller;


use OpenApi\Generator;
use think\facade\Log;

class Index extends Api
{

    public function index(): \think\response\Json
    {
        return $this->success(['message'=>"这是接口的默认入口"]);
    }
    public function  test(): \think\response\Json
    {
        trace('test................');

        $data = $this->request->param();

        return $this->success(['data'=>$data]);
    }


}